<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta charset="utf-8">
    <title>Vue 3.4.21 ES模块构建</title>
</head>
<body>
<div id="app">{{ message }}[{{version}}]</div>

<script type="module">
    import {createApp, ref, version} from 'https://unpkg.com/vue@3/dist/vue.esm-browser.js'
    createApp({
        setup() {
            const message = ref('Hello Vue!')
            return {
                message,version
            }
        }
    }).mount('#app')
</script>
</body>
</html>
